package cn.cl.gulimall.ware.service;

import cn.cl.gulimall.ware.vo.MergeVo;
import cn.cl.gulimall.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.cl.common.utils.PageUtils;
import cn.cl.gulimall.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author 高志红
 * @email 1739745826@qq.com
 * @date 2020-05-08 07:47:36
 */
public interface PurchaseService extends IService<PurchaseEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 查询未完成的采购需求
	 */
	PageUtils queryPageUnreceive(Map<String, Object> params);

	/**
	 * 合并采购细求
	 */
	void mergePurchase(MergeVo mergeVo);

	/**
	 * 领取采购单
	 */
	void received(List<Long> ids);

	/**
	 * 完成采购单
	 */
	void done(PurchaseDoneVo purchaseDoneVo);
}

